<template>
	<view class="card">
		<view class="card-title">
			{{title}}
		</view>
		<slot/>
	</view>
</template>

<script>
	export default{
		props:{
			title:{
				type:String,
				default:''
			}
		}
	}
</script>

<style lang="less" scoped>
	.card{
		padding: 30rpx 32rpx;
		background: #fff;
		// margin-bottom: 20rpx;
		margin-top: 20rpx;
	}
		
	.card-title{
		font-size: 36rpx;
		font-weight: 500;
		color: #333333;
		margin-bottom: 24rpx;
	}
</style>
